/**
 * Date: 2022/1/8
 * Author: january
 * Description: 
 */

#ifndef LIBSECRYPTO_RAND_H
#define LIBSECRYPTO_RAND_H


#define ENTROPY_POOL_SIZE 32

// libecc生成密钥时依赖的随机数生成函数
int get_random(unsigned char *buf, unsigned short len);
void rand_bytes(unsigned char* buffer, int size);
void rand_init(unsigned char* entropy, int size);


#endif //LIBSECRYPTO_RAND_H
